/*
 * @Author: yxw
 * @Date: 2019-3-15 15:41:17
 * @Last Modified by: yxw
 * @Last Modified time: 2019-3-15 17:19:17
 * @Description: 消息管理相关api
 */

import request from '@/router/axios'
import {newsUrls} from '@/const/apiUrl'

/**
 * 课题征集消息发送
 * @param 消息obj
 */
export function newslevyMessage (obj) {
  return request({
    url: newsUrls.newslevyMessage,
    method: 'post',
    data:obj
  })
}

/**
 * 获得课题征集消息
 * @param contentId
 */
export function levymessagePage (obj) {
  return request({
    url: newsUrls.levymessagePage,
    method: 'get',
    params:obj
  })
}
